

print(pbinom(6, 10, 0.5) - pbinom(3, 10, 0.5))
print(pbinom(600, 1000, 0.5) - pbinom(399, 1000, 0.5))

print(pbinom(600, 1000, 0.5))

print(pbinom(399, 1000, 0.5))

print(pbinom(500, 1000, 0.5))

